package com.wizz.trade.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author fyftless
 */
@Data
@TableName("sys_role_group")
public class SysRoleGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色组名称
     */
    @TableField("group_name")
    private String groupName;

    /**
     * 父级组id
     */
    @TableField("parent")
    private Long parent;
}
